package com.dog.basics.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @program: clumsy_security
 * @description: 上传公共参数
 * @author: Guo
 * @create: 2019-04-28 17:15
 **/
@Data
@Configuration
@ConfigurationProperties(prefix = "fileinfo")
public class FileProperties {

    /**
     * 路径前缀
     */
    private String path;

    /**
     * 文件夹文字
     */
    private String pathname;

	/**
	 * 路径
	 * @return
	 */
	public String url(){
    	return path+pathname;
	}

}
